﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using OpenExpressApp.MetaAttribute;

namespace OpenExpressApp
{
    /// <summary>
    /// 实体元数据
    /// </summary>
    public interface IEntityInfo : IMetaInfo
    {
        /// <summary>
        /// 当前模型是对应这个类型的。
        /// </summary>
        Type BOType { get; }

        /// <summary>
        /// 是否标记了DefaultObjectAttribute
        /// </summary>
        bool IsDefaultObject { get; }
        IList<IEntityPropertyInfo> BOPropertyInfos { get; }
        IList<IAssociationPropertyInfo> BOsPropertyInfos { get; }
    } 
}
